package com.ljj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liujiju
 * @since 2021-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Chapt对象", description="")
public class Chapt implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "章节表ID")
    @TableId(value = "chId", type = IdType.AUTO)
    private Integer chId;

    @ApiModelProperty(value = "章节名")
    private String chname;

    @ApiModelProperty(value = "课程ID")
    @TableField("cId")
    private Integer cId;

    private Integer default1;

    private String default2;


}
